.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.column-between {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.column-around {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

// 按钮hover效果 
.btn-green {
  font-weight: 700;
  font-size: 1.6rem;
  border: none;
  padding: 0 1rem;
  position: relative;
  border-radius: 4px;
  z-index: 1;
  text-transform: uppercase;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  color: #fff;
  background-color: $green;

  &::after,
  &::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    background: #7f74f1;
    z-index: -1;
  }

  &:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
  }
  &:hover,
  &:active {
    color: #fff;
    background: #0e314c;
    -webkit-box-shadow: 0 13px 16px 0 rgb(198 121 227 / 10%);
    box-shadow: 0 13px 16px 0 rgb(198 121 227 / 10%);
  }

  &:hover::after,
  &:hover::before {
    width: 100%;
    border-radius: 4px;
  }

  &:focus {
    color: #fff;
    background: $green;
  }
}
.btn-red {
  font-weight: 700;
  font-size: 1.6rem;
  border: none;
  padding: 0 1rem;
  position: relative;
  border-radius: 4px;
  z-index: 1;
  text-transform: uppercase;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  color: #fff;
  background-color: $theme-error;

  &::after,
  &::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    background: #7f74f1;
    z-index: -1;
  }

  &:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
  }
  &:hover,
  &:active {
    color: #fff;
    background: #0e314c;
    -webkit-box-shadow: 0 13px 16px 0 rgb(198 121 227 / 10%);
    box-shadow: 0 13px 16px 0 rgb(198 121 227 / 10%);
  }

  &:hover::after,
  &:hover::before {
    width: 100%;
    border-radius: 4px;
  }

  &:focus {
    color: #fff;
    background: $theme-error;
  }
}
.btn-white {
  font-weight: 700;
  font-size: 1.6rem;
  border: none;
  padding: 0px 10px;
  position: relative;
  border-radius: 4px;
  z-index: 1;
  text-transform: uppercase;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  color: $green;
  background-color: #e4faf7;

  &:focus {
    color: $green;
    background-color: #e4faf7;
  }

  &::after,
  &::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    background: #7f74f1;
    z-index: -1;
  }

  &:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
  }
  &:hover,
  &:active {
    color: #fff;
    background: #0e314c;
    -webkit-box-shadow: 0 13px 16px 0 rgb(198 121 227 / 10%);
    box-shadow: 0 13px 16px 0 rgb(198 121 227 / 10%);
  }

  &:hover::after,
  &:hover::before {
    width: 100%;
    border-radius: 4px;
  }
}

.btn-check {
  background: $green;
  border: none;
  padding: 0.5rem;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  width: 8rem;
  text-transform: uppercase;
  cursor: pointer;
  transform: skew(0);
  border-radius: 0;
  color: #fff;

  span {
    display: inline-block;
    transform: skew(0);
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    left: 0;
    background: #7f74f1;
    opacity: 0;
    z-index: -1;
    transition: all 0.5s;
  }

  &:hover {
    color: #fff;
  }

  &:hover::before {
    left: 0;
    right: 0;
    opacity: 1;
  }
  &:focus {
    outline: none;
  }
}

.mr-10 {
  margin-right: 10px;
}
.mr-15 {
  margin-right: 15px;
}

.mt-16 {
  margin-top: 16px;
}
.mt-25 {
  margin-top: 25px;
}

.mb-25 {
  margin-bottom: 25px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}
.p-30 {
  padding: 30px;
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}
.pointer {
  cursor: pointer;
}

.hidden-box {
  display: none;
}
.show-box {
  display: block;
}

.font-weight {
  font-weight: 700;
}

.check-wait {
  color: #409EFF;
  font-weight: 700;
}
.check-agree {
  color: $theme-success;
  font-weight: 700;
}
.check-refuse {
  color: $theme-error;
  font-weight: 700;
}
